package com.play.ballen.home.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.play.ballen.R
import com.play.ballen.home.entity.ArticleInfo

class NoticeListAdapter(data: MutableList<ArticleInfo>) :
    BaseQuickAdapter<ArticleInfo, BaseViewHolder>(R.layout.item_notice, data) {

    override fun convert(holder: BaseViewHolder, item: ArticleInfo) {
        holder.setText(R.id.tvName, item.title)
        holder.setText(R.id.tvDesc, item.add_time)
    }

}